.album {
  height: 100%;
  display: flex;
  flex-direction: column;
  .albumTop {
    width: 100%;
    height: 56px;
    background-color: #fff;
    box-sizing: border-box;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    .albumTopLeft {
      font-size: 16px;
      font-weight: 600;
      color: $font-1;
    }
    .albumTopRight {
      font-size: 12px;
      background-color: $main-1;
      padding: 5px 10px;
      border-radius: 30px;
      span {
        color: $bgc-2;
      }
    }
  }
  .albumNav {
    width: 100%;
    height: 40px;
    box-sizing: border-box;
    padding: 5px 0;
    overflow-x: auto;
    .albumNavWarp {
      padding: 0 20px;
      display: flex;
      align-items: center;
      .albumNavItem {
        flex-shrink: 0;
        padding: 3px 10px;
        border-radius: 30px;
        background-color: #eee;
        margin-right: 10px;
        span {
          font-size: 14px;
          color: $font-1;
        }
        &.active {
          background-color: $main-1;
          span {
            color: $bgc-2;
          }
        }
      }
    }
  }
  .albumContent {
    flex: 1 1 0;
    overflow-y: auto;
    box-sizing: border-box;
    padding: 20px;
    overflow: auto;
    .albumContentWarp {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
      padding-bottom: 70px;
    }

    .item {
      width: 100%;
      aspect-ratio: 1/1;
      border-radius: 5px;
      position: relative;
      overflow: hidden;
      img {
        width: 100%;
        height: 100%;
        object-position: center;
        object-fit: cover;
      }
      .desc {
        position: absolute;
        bottom: 2px;
        right: 5px;
        background-color: rgba(0, 0, 0, 0.5);
        font-size: 10px;
        line-height: 12px;
        color: #fff;
        padding: 2px 4px;
        border-radius: 5px;
        box-sizing: border-box;
      }
    }
  }
}
